<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');?>
	<!-- top menu -->
	<div class="menu-top myclear">
		<div class="menu-top-inner myclear">
            <div class="float-right menu-navi" id="menu">	
				<?php
				if($username != '')
				{
				?>
				<ul class="menu">
					<li>
						<div class="hi-user-l">
							<p class="hi-user-r">
								<?php echo $common_lang['hi']; ?> <b><?php echo $username; ?></b>
							</p>
						</div>
					</li>
					
					<li><p class="menu-navi-item"><b>&nbsp;|&nbsp;</b></p></li>
					
					<li>
						<p class="menu-navi-item">
							
							<a href="javascript:void(0);">
								<?php echo $common_lang['manager']; ?>
							</a>
							
						</p>
						<ul>
							
							<li>
								<a href="<?php echo site_url('user/view'); ?>">
									<?php echo $common_lang['user_manager']; ?>
								</a>
							</li>
							<li>
								<a href="<?php echo site_url('module')?>">
									<?php echo $common_lang['module_manager'];?>
								</a>
							</li>
							<li>
								<a href="<?php echo site_url('subcribe/view');?>">
									<?php echo $common_lang['subcribe_email'];?>
								</a>
							</li>
							<li>
								<a href="<?php echo site_url('subcribe/webmaster')?>">
									<?php echo $common_lang['webmaster_subcribe'];?>
								</a>
							</li>
							<li>
								<a href="<?php echo site_url('faqs')?>">
									<?php echo $common_lang['manager_faqs'];?>
								</a>
							</li>
						</ul>
					</li>
					
					<li><p class="menu-navi-item"><b>&nbsp;|&nbsp;</b></p></li>
					
					<li>
						<p class="menu-navi-item">
							<a href="javascript:void(0);">
								<?php echo $common_lang['financial']; ?>
							</a>
						</p>
						<ul>
							<li>
								<a href="<?php echo site_url('budget');?>">
									<?php echo $common_lang['financial'];?>
								</a>
							</li>
							
							<li>
								<a href="<?php echo site_url('payment');?>">
									<?php echo $common_lang['payment'];?>
								</a>
							</li>
							
							<li>
								<a href="<?php echo site_url('recharge');?>">
									<?php echo $common_lang['request_recharge'];?>
								</a>
							</li>
							
							<li>
								<a href="<?php echo site_url('budget/transactionMiss');?>">
									<?php echo $common_lang['list_tran_miss'];?>
								</a>
							</li>
						</ul>
					</li>
					
					<li><p class="menu-navi-item"><b>&nbsp;|&nbsp;</b></p></li>
					
					<li>
						<p class="menu-navi-item">
							<a href="javascript:void(0);">
								<?php echo $common_lang['customer_service']; ?>
							</a>
						</p>
						<ul>
							<li>
								<a href="<?php echo site_url('bannerwarring')?>">
									<?php echo $common_lang['banner_warring'];?>
								</a>
							</li>
							<li>
								<a href="<?php echo site_url('monitor/userNoAction')?>">
									<?php echo $common_lang['user_no_action'];?>
								</a>
							</li>
							<li>
								<a href="<?php echo site_url('monitor/bannerErrorList')?>">
									<?php echo $common_lang['banner_error_list'];?>
								</a>
							</li>
							<li>
								<a href="<?php echo site_url('monitor/bannerNotRunList')?>">
									<?php echo $common_lang['banner_not_run_list'];?>
								</a>
							</li>
							<li>
								<a href="<?php echo site_url('monitor/campaignCompleted')?>">
									<?php echo $common_lang['campaign_completed'];?>
								</a>
							</li>
						</ul>
					</li>
					
					<li><p class="menu-navi-item"><b>&nbsp;|&nbsp;</b></p></li>
					
					<li>
						<p class="menu-navi-item">
							<a href="javascript:void(0);">
								<?php echo $common_lang['report']; ?>
							</a>
						</p>
						<ul>
                            <li>
								<a href="<?php echo site_url('report')?>">
									<?php echo $common_lang['report'];?>
								</a>
							</li>
							<li>
								<a href="<?php echo site_url('report/earn')?>">
									<?php echo $common_lang['budget_earn'];?>
								</a>
							</li>
                            <li>
								<a href="<?php echo site_url('monitor/campaignBad')?>">
									<?php echo $common_lang['campaign_bad'];?>
								</a>
							</li>
							<li>
								<a href="<?php echo site_url('zone/dashboard')?>">
									Zone report
								</a>
							</li>
						</ul>
					</li>
					
					<li><p class="menu-navi-item"><b>&nbsp;|&nbsp;</b></p></li>
					
					<li>
						<p class="menu-navi-item">
							<a href="javascript:void(0);">
								<?php echo $common_lang['log']; ?>
							</a>
						</p>
						<ul>
							<li>
								<a href="<?php echo site_url('logs');?>">
									<?php echo $common_lang['banner_campaign_log'];?>
								</a>
							</li>
							<li>
								<a href="<?php echo site_url('logs/email');?>">
									<?php echo $common_lang['send_mail_log'];?>
								</a>
							</li>
							<li>
								<a href="<?php echo site_url('logs/mcweekly_service');?>">
									Muachung weekly service logs
								</a>
							</li>
						</ul>
					</li>
					
					<li><p class="menu-navi-item"><b>&nbsp;|&nbsp;</b></p></li>
					
					<li>
						<p class="menu-navi-item">
							<a href="javascript:void(0);">
								<?php echo $common_lang['tracking']; ?>
							</a>
						</p>
						<ul>
                            <li>
								<a href="<?php echo site_url('tracking/trackingBannerRunning');?>">
									<?php echo $common_lang['banner_running'];?>
								</a>
							</li>
							<li>
								<a href="<?php echo site_url('tracking/trackingBannerUp');?>">
									<?php echo $common_lang['banner_up'];?>
								</a>
							</li>
							<li>
								<a href="<?php echo site_url('tracking/trackingBannerDown');?>">
									<?php echo $common_lang['banner_down'];?>
								</a>
							</li>
							<li>
								<a href="<?php echo site_url('monitor/adsOnlineMonitoring');?>">
									<?php echo $common_lang['online_ads_monitoring'];?>
								</a>
							</li>
							<li>
								<a href="<?php echo site_url('bigdata');?>">
									Bigdata monitor
								</a>
							</li>
						</ul>
					</li>
					
					<li><p class="menu-navi-item"><b>&nbsp;|&nbsp;</b></p></li>
					
					<li>
						<p class="menu-navi-item">
							<a href="javascript:void(0);">
								<?php echo $common_lang['settings']; ?>
							</a>
						</p>
						<ul>
							<!--<li>
								<a href="<?php echo site_url('settings/view'); ?>"><?php echo $common_lang['settings']; ?></a>
							</li>-->
							<li>
								<a href="<?php echo site_url('settings/set_all_channel'); ?>">Set All Site Channel</a>
							</li>

						</ul>
					</li>
					
                    <li><p class="menu-navi-item"><b>&nbsp;|&nbsp;</b></p></li>
					<li>
						<p class="menu-navi-item">
							<a href="javascript:void(0);">
								Gửi Mail, Message
							</a>
						</p>
						<ul>
							<li>
								<a href="<?php echo site_url('message/send'); ?>">
									Gửi tin nhắn
								</a>
							</li>
							<li>
								<a href="<?php echo site_url('newsletter/show'); ?>">
									Newsletter
								</a>
							</li>
						</ul>
					</li>
					
					<li><p class="menu-navi-item"><b>&nbsp;|&nbsp;</b></p></li>
					
					<li>
						<p class="menu-navi-item">
							<a href="<?php echo site_url('logout'); ?>">
								<?php echo $common_lang['logout']; ?>
							</a>
						</p>
					</li>
				</ul>
				<?php
				}
				?>
			</div>
            
		</div>
	</div> <!-- end top menu -->